package com.note.api;

import com.note.model.Role;

import java.util.List;

/**
 * Created by ADMIN on 2018/3/27.
 */
public interface RoleService {
    Role get(Long id);

    List<Role> list();

    int save(Role role);

    int update(Role role);

    int remove(Long id);

    List<Role> list(Long userId);

    int batchremove(Long[] ids);
}
